/*
    index.html 对应的css样式
 */
/*
    容器设置
 */
.wrapper{
    width: 100%;
    height: 100%;
}
/*
    header部分
 */
.wrapper header{
    width: 100%;
    height: 12vw;
    position: fixed;
    top:0 ;
    left: 0;
    background:-webkit-linear-gradient(left,#0097FF,blue);
    background: #0097FF;
    /*设置弹性盒子*/
    display: flex;
    /*单行多行居中*/
    align-items: center;
    /*z-index: 3;*/
    /*border-style: none;*/
}
.wrapper header .icon-location-box{
    width: 3.5vw;
    height: 3.5vw;
    margin-left: 3vw;
    /*vw 指宽度的%多少*/
    margin-right:1vw;
}
.wrapper header .location-text{
    font-size: 4.5vw;
    color:white;
}
.wrapper header .location-text i.fa-caret-down{
    margin-left: 1vw;
}
/*
    search部分
*/
.wrapper .search{
    width: 100%;
    height: 13vw;
    position: fixed;
    top:12vw ;
    left: 0;
    z-index: 6;
    /*border-style:none;*/

}
.wrapper .search .search-fixed-top{
    width: 100%;
    height: 13vw;
    background:-webkit-linear-gradient(left,#0097FF,blue);
    background: #0097FF;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrapper .search .search-fixed-top .search-box{
    width: 90%;
    height: 9vw;
    background-color: white;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5vw;
    color: #aeaeae;
    font-family: 'Helvetica Neue',Tahoma,Arial,PingFangSC-Regular,'Hiragino Sans GB','Microsoft Yahei',sans-serif;
}
.wrapper .search .search-fixed-top .search-box i.fa-search{
    margin-right: 1vw;
}
/*
    点餐部分
*/
.wrapper .foodtype {
    width: 100%;
    height: 48vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-top: 25vw;
}
.wrapper .foodtype li{
    width: 18vw;
    height: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.wrapper .foodtype li img{
    width: 12vw;
    height: 10vw;
}
.wrapper .foodtype li p{
    font-size: 3.2vw;
    color: #666;
    font-family: "华文宋体";
}

/*
    广告部分
*/
.wrapper .banner{
    width: 95%;
    height: 29vw;
    background-image: url("../img/index_banner.png");
    margin: 0 auto;
    /*cover将图片适应的放入,充满整个容器，大小适应*/
    background-size: cover;
    padding: 2vw 6vw;
    /*只要给容器添加了padding属性样式，必须使用box-sizing 将盒子固定，否则盒子会被撑大*/
    box-sizing: border-box;
}
.wrapper .banner h3{
    font-size: 4.2vw;
    margin-bottom: 1.2vw;
}
.wrapper .banner p{
    font-size: 3.4vw;
    margin-bottom: 2.4vw;
    color: #666666;
}
.wrapper .banner a{
    font-size: 3vw;
    color: #c79060;
    font-weight: 700;
}

/*
    会员部分
*/
.wrapper .supermember{
    width: 95%;
    height: 11.5vw;
    margin: 0 auto;
    background-color: #feedc1;
    border-radius: 2px;
    margin-top: 1.3vw;
    color: #644f1b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wrapper .supermember .left{
    display: flex;
    align-items: center;
    margin-left: 4vw;
    user-select: none;
}
.wrapper .supermember .left img{
    width: 6vw;
    height: 6vw;
    margin-right: 2vw;
}
.wrapper .supermember .left h3{
    font-size: 4vw;
    margin-right: 2vw;
}
.wrapper .supermember .left p{
    font-size: 3vw;
}
.wrapper .supermember .right{
    font-size: 3vw;
    margin-right: 4vw;
    /*pc端采用*/
    cursor: pointer;
}

/*
    推荐商家
*/
.wrapper .recommend{
    width: 100%;
    height: 14vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrapper .recommend .recommend-line{
    width: 6vw;
    height: 0.2vw;
    background-color: #888;
}
.wrapper .recommend p{
    font-size: 4vw;
    margin: 0 4vw;
}

/*
    推荐方式部分
*/
.wrapper .recommendtype{
    width: 100%;
    height: 5vw;
    margin-bottom: 5vw;
    display: flex;
    /*子元素的水平对齐方式*/
    justify-content: space-around;
    /*子元素的垂直对齐方式 item 对单行，多行都有效。 content对整体有效*/
    align-items: center;
}
.wrapper .recommendtype li{
    font-size: 3.5vw;
    color: #555;
}

/*
    推荐商家列表部分
*/
.wrapper .business{
    width: 100%;
    margin-bottom: 14vw;
}
.wrapper .business li{
    width: 100%;
    box-sizing: border-box;
    padding: 2.5vw;
    user-select: none;
    border-bottom: solid 1 px #ddd;
    display: flex;
}
.wrapper .business li img{
    width: 18vw;
    height: 18vw;
}
.wrapper .business li .business-info{
    width: 100%;
    padding-left: 3vw ;
    box-sizing: border-box;
}
.wrapper .business li .business-info .business-info-h{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vw;
}
.wrapper .business li .business-info .business-info-h h3{
    font-size: 4vw;
    color: #333;
}
.wrapper .business li .business-info .business-info-h .business-info-like{
    width: 1.6vw;
    height: 3.4vw;
    background-color: #666;
    color: #ffffff;
    font-size: 4vw;
    margin-right: 4vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrapper .business li .business-info .business-info-star{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vw;
    font-size: 3.1vw;
}
.wrapper .business li .business-info .business-info-star .business-info-star-left{
    display: flex;
    align-items: center;
}
.wrapper .business li .business-info .business-info-star .business-info-star-left .fa-star{
    color: #fec80e;
    margin-right: 0.5vw;
}
.wrapper .business li .business-info .business-info-star .business-info-star-left p{
    color: #666666;
    margin-left: 1vw;
}
.wrapper .business li .business-info .business-info-star .business-info-star-right{
    background-color: #0097FF;
    color: #ffffff;
    font-size: 2.4vw;
    border-radius: 2px;
    padding: 0 0.6vw;
}
.wrapper .business li .business-info .business-info-delivery{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vw;
    color: #666;
    font-size: 3.1vw;
}
.wrapper .business li .business-info .business-info-explain{
    display: flex;
    align-items: center;
    margin-bottom: 3vw;
}
.wrapper .business li .business-info .business-info-explain div{
    border: solid 1px #dddddd;
    font-size: 2.8vw;
    color: #666666;
    border-radius: 3px;
    padding: 0 0.1vw;
}
.wrapper .business li .business-info .business-info-promotion{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8vw;
}
.wrapper .business li .business-info .business-info-promotion .business-info-promotion-left{
    display: flex;
    align-items: center;
}
.wrapper .business li .business-info .business-info-promotion .business-info-promotion-left .business-info-promotion-left-incon{
    width: 4vw;
    height: 4vw;
    background-color: #70bc46;
    border-radius: 3px;
    font-size: 3vw;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrapper .business li .business-info .business-info-promotion .business-info-promotion-left p{
    color: #666666;
    font-size: 3vw;
    margin-left: 2vw;
}
.wrapper .business li .business-info .business-info-promotion .business-info-promotion-right{
    display: flex;
    align-items: center;
    font-size: 2.5vw;
    color: #999999;
}
.wrapper .business li .business-info .business-info-promotion .business-info-promotion-right p{
    margin-right: 2vw;
}

/*
    底部菜单部分
*/
.wrapper .footer{
    width: 100%;
    height: 14vw;
    border-top: solid 1px #dddddd;
    background-color: #ffffff;
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.wrapper .footer  li{
    /*尺寸完全由内容部分撑起来*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999999;
    user-select: none;
    cursor: pointer;
}
.wrapper .footer li p{
    font-size: 2.8vw;
}
.wrapper .footer li i{
    font-size: 5vw;
}